#-------------------------------------------------------------------------
#
# Makefile for src/test
#
# Portions Copyright (c) 1994, Regents of the University of California
# Portions Copyright (c) 2013-2015, PipelineDB
#
# src/test/Makefile
#
#-------------------------------------------------------------------------

subdir = src/test
top_builddir = ../..
include $(top_builddir)/src/Makefile.global

SUBDIRS = regress isolation modules py

# We don't build or execute examples/, locale/, or thread/ by default,
# but we do want "make clean" etc to recurse into them.  Likewise for ssl/,
# because the SSL test suite is not secure to run on a multi-user system.
ALWAYS_SUBDIRS = examples locale thread ssl

# We want to recurse to all subdirs for all standard targets, except that
# installcheck and install should not recurse into the subdirectory "modules".

recurse_alldirs_targets := $(filter-out installcheck install, $(standard_targets))
installable_dirs := $(filter-out modules, $(SUBDIRS))

$(call recurse,$(recurse_alldirs_targets))
$(call recurse,installcheck, $(installable_dirs))
$(call recurse,install, $(installable_dirs))

$(recurse_always)
